home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Milan_1991 / Devcon91.1 / Libraries / Commodities / Common / local.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-01  |  1.8 KB  |  56 lines

  1.  
  2.    /***********************************************************************
  3.    *                                                                      *
  4.    *                            COPYRIGHTS                                *
  5.    *                                                                      *
  6.    *   Copyright (c) 1990  Commodore-Amiga, Inc.  All Rights Reserved.    *
  7.    *                                                                      *
  8.    ***********************************************************************/
  9.  
  10. /* local.h - Definitions used by standard modules */
  11.  
  12. #ifdef LATTICE
  13. #include <clib/all_protos.h>
  14. #include <stdlib.h>
  15. #include <string.h>
  16. #endif
  17.  
  18. #include "app.h"
  19.  
  20. /**********/
  21. /* main.c */
  22. /**********/
  23. extern struct IntuitionBase *IntuitionBase;
  24. extern struct Library       *CxBase;
  25. extern struct GfxBase       *GfxBase;
  26. extern struct DosLibrary    *DOSBase;
  27. extern struct Library       *GadToolsBase;
  28.  
  29. extern struct MsgPort *cxport;      /* commodities messages here      */
  30. extern ULONG          cxsigflag;    /* signal for above               */
  31.  
  32. extern struct MsgPort *iport;       /* Intuition IDCMP messages here   */
  33. extern ULONG          isigflag;     /* signal for above                */
  34.  
  35. /********/
  36. /* cx.c */
  37. /********/
  38. extern char   hotkeybuff[];   /* holds the string describing the popup */
  39.                               /* hotkey. Used for the window title     */
  40.  
  41. VOID handleCxMsg(struct Message *);
  42. BOOL setupCX(char **);
  43. VOID shutdownCX(VOID);
  44.  
  45. /************/
  46. /* window.c */
  47. /************/
  48. VOID   handleIMsg(struct IntuiMessage *);
  49. struct Window *getNewWindow(VOID);
  50. int    addGadgets(struct Window *);
  51. VOID   removeGadgets(VOID);
  52.  
  53. #define PRIORITY_TOOL_TYPE     "CX_PRIORITY"
  54. #define POP_ON_START_TOOL_TYPE "CX_POPUP"
  55. #define POPKEY_TOOL_TYPE       "CX_POPKEY"
  56.